package com.xxl.job.executor.service.jobhandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.JobHandler;

@JobHandler(value = "DemoGlueJobHandler")
@Service
public class DemoGlueJobHandler extends IJobHandler {
	private static transient Logger log = LoggerFactory.getLogger(DemoGlueJobHandler.class);	
  
	@Override
	public ReturnT<String> execute(String... params) throws Exception {
		log.info("hello World");
        
		return ReturnT.SUCCESS;
	}

}